- 
		Home
	
- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
- 
2.29.3
- 
Code
- 
Classes
-  Checkout 
		
			
				
					
													
								
																			
											| Total Complexity | 38 | 
																			
											| Dependencies | 6 | 
																			
											| Dependents | 8 | 
																	
							 
													
								
																			
											| Total lines | 339 | 
																			
											| Lines of code | 170 | 
																			
											| Logical lines of code | 75 | 
																	
							 
													
								
																			
											| Comment lines | 102 | 
																			
											| Methods | 15 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| declineUpsell() | S | 50 | 6 | 29 | 
					
				| offerBump() | S | 51 | 6 | 26 | 
					
				| offerUpsell() | S | 51 | 6 | 26 | 
					
				| manuallyPay() | S | 52 | 4 | 25 | 
					
				| cancel() | S | 52 | 4 | 25 | 
					
				| setWriteAttributes() | S | 70 | 2 | 6 | 
					
				| getBillingAddressDisplayAttribute() | S | 71 | 2 | 6 | 
					
				| __construct() | S | 76 | 1 | 4 | 
					
				| setUpsellFunnelAttribute() | S | 79 | 1 | 3 | 
					
				| setCurrentUpsellAttribute() | S | 79 | 1 | 3 | 
					
				| setRecommendedBumpsAttribute() | S | 79 | 1 | 3 | 
					
				| create() | S | 77 | 1 | 4 | 
					
				| update() | S | 77 | 1 | 4 | 
					
				| getIPAddress() | S | 78 | 1 | 3 | 
					
				| setLineItemsAttribute() | S | 79 | 1 | 3 |